package com.a3dweijing.wetouch2.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/3/23.
 * 商品详情
 */

public class ShoppingDetails {
    /**
     * flag : true
     * message : 查询成功
     * goodsInfo : {"s_goods_id":1,"s_goods_name":"ehp智能手环","s_goods_img_url":"https://lfriend.oss-cn-shenzhen.aliyuncs.com/shop/goods/1521701862%281%29.jpg","s_original_price":"199","s_price":"99","s_goods_describe":"ehp智能手环男运动手表女监测心率血压心跳健康小米oppo华为vivo","s_goods_type":1,"s_recommend":1,"s_goods_sell_num":null}
     * comment : [{"goods_comment_id":1,"goods_comment_info":"一直期待这个，今天狠心买了它，还不错，刚刚收到货，用一段时间再来评价","goods_comment_time":2147483647,"s_goods_id":1,"user_id":91710010,"user_name":"兴明家人","user_head":"wetouch/default_user_head.png","goods_comment_style":1}]
     * particulars : [{"s_particulars_id":1,"s_particulars_goods_id":1,"s_particulars_img_url":"https://img.alicdn.com/bao/uploaded/i3/2211054056/TB1bRPTa5MnBKNjSZFoXXbOSFXa_!!0-item_pic.jpg_430x430q90.jpg"},{"s_particulars_id":2,"s_particulars_goods_id":1,"s_particulars_img_url":"https://img.alicdn.com/imgextra/i3/2211054056/TB2yJUEaASWBuNjSszdXXbeSpXa_!!2211054056.jpg_430x430q90.jpg"},{"s_particulars_id":3,"s_particulars_goods_id":1,"s_particulars_img_url":"https://img.alicdn.com/imgextra/i4/2211054056/TB24DdseQfb_uJkSne1XXbE4XXa_!!2211054056.jpg_430x430q90.jpg"}]
     */

    private boolean flag;
    private String message;
    private GoodsInfoBean goodsInfo;
    private List<CommentBean> comment;
    private List<ParticularsBean> particulars;

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public GoodsInfoBean getGoodsInfo() {
        return goodsInfo;
    }

    public void setGoodsInfo(GoodsInfoBean goodsInfo) {
        this.goodsInfo = goodsInfo;
    }

    public List<CommentBean> getComment() {
        return comment;
    }

    public void setComment(List<CommentBean> comment) {
        this.comment = comment;
    }

    public List<ParticularsBean> getParticulars() {
        return particulars;
    }

    public void setParticulars(List<ParticularsBean> particulars) {
        this.particulars = particulars;
    }



    public static class CommentBean implements Serializable{
        /**
         * goods_comment_id : 1
         * goods_comment_info : 一直期待这个，今天狠心买了它，还不错，刚刚收到货，用一段时间再来评价
         * goods_comment_time : 2147483647
         * s_goods_id : 1
         * user_id : 91710010
         * user_name : 兴明家人
         * user_head : wetouch/default_user_head.png
         * goods_comment_style : 1
         */

        private int goods_comment_id;
        private String goods_comment_info;
        private int goods_comment_time;
        private int s_goods_id;
        private int user_id;
        private String user_name;
        private String user_head;
        private int goods_comment_style;

        public int getGoods_comment_id() {
            return goods_comment_id;
        }

        public void setGoods_comment_id(int goods_comment_id) {
            this.goods_comment_id = goods_comment_id;
        }

        public String getGoods_comment_info() {
            return goods_comment_info;
        }

        public void setGoods_comment_info(String goods_comment_info) {
            this.goods_comment_info = goods_comment_info;
        }

        public int getGoods_comment_time() {
            return goods_comment_time;
        }

        public void setGoods_comment_time(int goods_comment_time) {
            this.goods_comment_time = goods_comment_time;
        }

        public int getS_goods_id() {
            return s_goods_id;
        }

        public void setS_goods_id(int s_goods_id) {
            this.s_goods_id = s_goods_id;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public String getUser_head() {
            return user_head;
        }

        public void setUser_head(String user_head) {
            this.user_head = user_head;
        }

        public int getGoods_comment_style() {
            return goods_comment_style;
        }

        public void setGoods_comment_style(int goods_comment_style) {
            this.goods_comment_style = goods_comment_style;
        }
    }

    public static class ParticularsBean {
        /**
         * s_particulars_id : 1
         * s_particulars_goods_id : 1
         * s_particulars_img_url : https://img.alicdn.com/bao/uploaded/i3/2211054056/TB1bRPTa5MnBKNjSZFoXXbOSFXa_!!0-item_pic.jpg_430x430q90.jpg
         */

        private int s_particulars_id;
        private int s_particulars_goods_id;
        private String s_particulars_img_url;

        public int getS_particulars_id() {
            return s_particulars_id;
        }

        public void setS_particulars_id(int s_particulars_id) {
            this.s_particulars_id = s_particulars_id;
        }

        public int getS_particulars_goods_id() {
            return s_particulars_goods_id;
        }

        public void setS_particulars_goods_id(int s_particulars_goods_id) {
            this.s_particulars_goods_id = s_particulars_goods_id;
        }

        public String getS_particulars_img_url() {
            return s_particulars_img_url;
        }

        public void setS_particulars_img_url(String s_particulars_img_url) {
            this.s_particulars_img_url = s_particulars_img_url;
        }
    }
}
